package com.devilvan.betrice.douban.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author Evad.Wu
* @Description 豆瓣-短评表 值对象
* @date 2022-12-15
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "豆瓣-短评表 值对象")
public class DoubanCommentVo {
    @Schema(description = "电影系统ID")
    @JSONField(alternateNames = {"pid"})
    private Long pid;
    @Schema(description = "评论ID")
    @JSONField(alternateNames = {"commentId"})
    private Long commentId;
    @Schema(description = "评论人")
    @JSONField(alternateNames = {"reviewer"})
    private String reviewer;
    @Schema(description = "评论人主页")
    @JSONField(alternateNames = {"reviewerUrl"})
    private String reviewerUrl;
    @Schema(description = "观看状态，1-看过 0-没看过")
    @JSONField(alternateNames = {"watchedStatus"})
    private Boolean watchedStatus;
    @Schema(description = "推荐星级，5-力荐 4-推荐 3-还行 2-较差 1-很差")
    @JSONField(alternateNames = {"rankStar"})
    private Integer rankStar;
    @Schema(description = "评论日期")
    @JSONField(alternateNames = {"commentDate"})
    private Date commentDate;
    @Schema(description = "认同数")
    @JSONField(alternateNames = {"affirm"})
    private Integer affirm;
    @Schema(description = "评论内容")
    @JSONField(alternateNames = {"content"})
    private String content;
}
